function validate(obj)
{
	var oUname = obj.uname;
	
	if(oUname.value == ""){
		alert("Name should not be empty");
	}	
	var oEmail = obj.email;
	if(oEmail.value == ""){
		alert("Email should not be empty");
	}

	
} // end of validate()

